﻿package mortal.game.proxy
{
    import Message.Game.*;
    import mortal.game.scene3D.ai.*;
    import mortal.game.utils.*;
    import mortal.mvc.core.*;

    public class BattlefieldProxy extends Proxy
    {

        public function BattlefieldProxy()
        {
            return;
        }// end function

        public function enterBattlefield(param1:int) : void
        {
            CopyUtil.copyCheck(this.enterBattlefieldFun, param1);
            return;
        }// end function

        private function enterBattlefieldFun(param1:int) : void
        {
            AIManager.cancelAll();
            rmi.iCopy.enterBattleField_async(new AMI_ICopy_enterBattleField(), param1);
            return;
        }// end function

        public function getBattlefieldList() : void
        {
            rmi.iCopy.getBattleFieldInfo_async(new AMI_ICopy_getBattleFieldInfo());
            return;
        }// end function

        public function getBattlefieldResult() : void
        {
            rmi.iCopy.getBattleFieldPlayerScore_async(new AMI_ICopy_getBattleFieldPlayerScore());
            return;
        }// end function

        public function resetForce(param1:int) : void
        {
            rmi.iCopy.resetBattleFieldForce_async(new AMI_ICopy_resetBattleFieldForce(), param1);
            return;
        }// end function

        public function showScore() : void
        {
            rmi.iCopy.showOffBattleFieldScore_async(new AMI_ICopy_showOffBattleFieldScore());
            return;
        }// end function

        public function getTaskReward() : void
        {
            rmi.iCopy.battleFieldTask_async(new AMI_ICopy_battleFieldTask());
            return;
        }// end function

    }
}
